from django.conf.urls import patterns, url
from django.views.generic import DetailView, ListView
from poudres.models import Poudre

urlpatterns = patterns('',
    url(r'^$','poudres.views.accueil_poudre'),
    url(r'^details/(?P<id_poudre>\d+)/','poudres.views.details_poudre'),
    url(r'^liste_poudres/$','poudres.views.poudre_index'),
    url(r'^(?P<id_poudre>\d+)/addevent/$','poudres.views.poudre_addevent'),
    url(r'^addpoudre/$','poudres.views.addpoudre'),
)